From d39b53b7b0c91133e12db3dec1e73ef39a791e93 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 14 Aug 2024 14:35:58 +0200 Subject: [PATCH] uqmid: implement roaming support (allow and forbid) Set roaming flag on the wds profile which is used to connect to the network. Signed-off-by: Alexander Couzens --- uqmid/modem_tx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uqmid/modem_tx.c b/uqmid/modem_tx.c index 0e405f8..dc345e2 100644 --- a/uqmid/modem_tx.c +++ b/uqmid/modem_tx.c @@ -148,6 +148,8 @@ int tx_wds_modify_profile(struct modem *modem, struct qmi_service *wds, request_ if (password) profile_req.data.password = (char *)password; + qmi_set(&profile_req, roaming_disallowed_flag, !modem->config.roaming); + int ret = qmi_set_wds_modify_profile_request(msg, &profile_req); if (ret) { LOG_ERROR("Failed to encode get profile list"); -- 2.30.2